#include "util.h"

char * get_str() {

   char buffer[1024],*str;

   fgets(buffer, 1024, stdin);
   buffer[strlen(buffer)-1] = '\0';

   str = strdup(buffer);

   return str;

}

void _die(char *msg) {

   printf("%s\n", msg);
   exit(1);

}
